
import request from '@/utils/request';

// 查询列表
export async function queryBnsMag(params) {
  return request('/s/emailsettting/queryPageList', {
    method: 'POST',
    data: params,
  });
}
// 新增
export async function addBnsMag(params) {
  return request('/s/emailsettting/add', {
    method: 'POST',
    data: params,
  });
}

// 删除
export async function removeBnsMag(params) {
  return request('/s/emailsettting/delete', {
    method: 'POST',
    data: params,
  });
}

// 修改
export async function updateBnsMag(params) {
  return request('/s/emailsettting/update', {
    method: 'POST',
    data: params,
  });
}

// 测试邮箱
export async function testEmail(params) {
  return request('/s/emailsettting/testEmail', {
    method: 'POST',
    data: params,
  });
}




